<template>
  <plan-month :planType="4" planDetaiTitle="回收计划明细"
    exportName="车票月度回收计划.xlsx"
    :weekPlanOption="weekPlanOption"
    :permissionList="permissionList">
  </plan-month>
</template>

<script>
import { mapGetters } from 'vuex'
import planMonth from './plan-month'
import {weekPlanOption} from '@/const/crud/subway/swstreceiveplandraft'

export default {
  name: 'StReceivePlan',
  data() {
    return {
      weekPlanOption: weekPlanOption
    }
  },
  components: {
    planMonth
  },
  computed: {
    ...mapGetters(['permissions']),
    permissionList() {
      return {
        submitBtn: this.vaildData(this.permissions.st_plan_month_receive_submit, false),
        editBtn: this.vaildData(this.permissions.st_plan_month_receive_edit, false),
        decomposeBtn: this.vaildData(this.permissions.st_plan_month_receive_decompose, false),
        updateDecomposeBtn: this.vaildData(this.permissions.st_plan_month_receive_updateDecompose, false),
	delBtn: this.vaildData(this.permissions.st_plan_month_receive_delete, false),
        auditBtn: this.vaildData(this.permissions.st_plan_month_receive_audit, false)
      }
    }
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
</style>
